package net.ericaro.neojavagen.classes;

/**
 * <b>NormalClassDeclaration</b> ::= <{@link net .ericaro .neojavagen .packages .JavadocComment JavadocComment}>? <
 * {@link net .ericaro .neojavagen .interfaces .Annotations Annotations}>? <{@link java .util .EnumSet <net .ericaro .neojavagen .classes .ClassModifier >
 * EnumSet}> "class" <{@link net .ericaro .neojavagen .types .Identifier Identifier}> <{@link net .ericaro .neojavagen .classes .TypeParameters TypeParameters}>?
 * <{@link net .ericaro .neojavagen .classes .Super Super}>? <{@link net .ericaro .neojavagen .classes .Interfaces Interfaces}>? <
 * {@link net .ericaro .neojavagen .classes .ClassBody ClassBody}>
 * 
 * @author eric@ericaro.net
 */
public class NormalClassDeclaration extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.classes.ClassDeclaration {
	private net.ericaro.neojavagen.interfaces.Annotations annotations;

	private net.ericaro.neojavagen.classes.Super asuper;

	private net.ericaro.neojavagen.classes.ClassBody classBody;

	private java.util.EnumSet<net.ericaro.neojavagen.classes.ClassModifier> enumSet;

	private net.ericaro.neojavagen.types.Identifier identifier;

	private net.ericaro.neojavagen.classes.Interfaces interfaces;

	private net.ericaro.neojavagen.packages.JavadocComment javadocComment;

	private net.ericaro.neojavagen.classes.TypeParameters typeParameters;

	public NormalClassDeclaration(java.util.EnumSet<net.ericaro.neojavagen.classes.ClassModifier> enumSet, net.ericaro.neojavagen.types.Identifier identifier, net.ericaro.neojavagen.classes.ClassBody classBody) {
		this.javadocComment = null;
		this.annotations = null;
		this.enumSet = enumSet;
		this.identifier = identifier;
		this.typeParameters = null;
		this.asuper = null;
		this.interfaces = null;
		this.classBody = classBody;
	}

	public NormalClassDeclaration(net.ericaro.neojavagen.packages.JavadocComment javadocComment, net.ericaro.neojavagen.interfaces.Annotations annotations, java.util.EnumSet<net.ericaro.neojavagen.classes.ClassModifier> enumSet, net.ericaro.neojavagen.types.Identifier identifier, net.ericaro.neojavagen.classes.TypeParameters typeParameters, net.ericaro.neojavagen.classes.Super asuper, net.ericaro.neojavagen.classes.Interfaces interfaces, net.ericaro.neojavagen.classes.ClassBody classBody) {
		super();
		this.javadocComment = javadocComment;
		this.annotations = annotations;
		this.enumSet = enumSet;
		this.identifier = identifier;
		this.typeParameters = typeParameters;
		this.asuper = asuper;
		this.interfaces = interfaces;
		this.classBody = classBody;
	}

	public net.ericaro.neojavagen.interfaces.Annotations getAnnotations() {
		return annotations;
	}

	public net.ericaro.neojavagen.classes.ClassBody getClassBody() {
		return classBody;
	}

	public java.util.EnumSet<net.ericaro.neojavagen.classes.ClassModifier> getEnumSet() {
		return enumSet;
	}

	public net.ericaro.neojavagen.types.Identifier getIdentifier() {
		return identifier;
	}

	public net.ericaro.neojavagen.classes.Interfaces getInterfaces() {
		return interfaces;
	}

	public net.ericaro.neojavagen.packages.JavadocComment getJavadocComment() {
		return javadocComment;
	}

	public net.ericaro.neojavagen.classes.Super getSuper() {
		return asuper;
	}

	public net.ericaro.neojavagen.classes.TypeParameters getTypeParameters() {
		return typeParameters;
	}

	public void setAnnotations(net.ericaro.neojavagen.interfaces.Annotations annotations) {
		this.annotations = annotations;
	}

	public void setClassBody(net.ericaro.neojavagen.classes.ClassBody classBody) {
		this.classBody = classBody;
	}

	public void setEnumSet(java.util.EnumSet<net.ericaro.neojavagen.classes.ClassModifier> enumSet) {
		this.enumSet = enumSet;
	}

	public void setIdentifier(net.ericaro.neojavagen.types.Identifier identifier) {
		this.identifier = identifier;
	}

	public void setInterfaces(net.ericaro.neojavagen.classes.Interfaces interfaces) {
		this.interfaces = interfaces;
	}

	public void setJavadocComment(net.ericaro.neojavagen.packages.JavadocComment javadocComment) {
		this.javadocComment = javadocComment;
	}

	public void setSuper(net.ericaro.neojavagen.classes.Super asuper) {
		this.asuper = asuper;
	}

	public void setTypeParameters(net.ericaro.neojavagen.classes.TypeParameters typeParameters) {
		this.typeParameters = typeParameters;
	}

	@Override
	public java.lang.String toString() {
		return print(javadocComment, annotations, enumSet, "class", identifier, typeParameters, asuper, interfaces, classBody);
	}
}
